package red.stu.pconstraint.engine;

import org.jetbrains.annotations.NotNull;
import red.stu.pconstraint.ProcessStorageApi;
import red.stu.pconstraint.dto.mapper.ProcessMapper;

/**
 * 流程储存工厂
 * @author yihrmc @stu.red
 * @date 2019/11/23 15:43
 */
public abstract class AbstractProcessStorageFactory {

    /**
     * 获取流程对应的储存实现
     * @param processMapper 流程模版
     * @return
     */
    @NotNull
    public abstract ProcessStorageApi getProcessStorage(ProcessMapper processMapper);

}
